package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "position")
public class Position {
    /**
     * id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

     @TableField(value = "industry_id",exist = false)
     private Integer industryId;
    /**
     * 职位名称
     */
    @TableField(value = "title")
    private String title;

    @TableField(value = "is_popular")
    private Boolean isPopular;
    /**
     * 职位类型id
     */
    @TableField(value = "position_type_id")
    private Integer positionTypeId;

    @TableField(value = "positionType",exist = false)
    private PositionType positionType;

    @TableField(value = "industry",exist = false)
    private Industry industry;
    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 添加时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 操作人
     */
    @TableField(value = "admin_id")
    private Integer adminId;
    @TableField(value = "admin",exist = false)
    private Admin admin;
    /**
     * 假删除
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_TITLE = "title";

    public static final String COL_POSITION_TYPE_ID = "position_type_id";

    public static final String COL_SORT = "sort";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_ENABLE = "enable";
}